package cn.edu.cqu.domains;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Type;

/***********************************************************************
 * Module:  TeacherInfo.java
 * Author:  Guo
 * Purpose: Defines the Class TeacherInfo
 ***********************************************************************/

@Entity
@Table(name="TeacherInfo")
@DynamicUpdate
@DynamicInsert
public class TeacherInfo {
	@Id
	@GenericGenerator(name="systemUUID",strategy="uuid")
	@GeneratedValue(generator="systemUUID")
	private String tid;
	private String tDepatment;
	private String tImg;
	private String tUrl;
	@Type(type="text") 
	private String tContent;
	private String tName;
	
	public String gettName() {
		return tName;
	}
	public void settName(String tName) {
		this.tName = tName;
	}
	public java.lang.String getTid() {
		return tid;
	}
	public void setTid(java.lang.String tid) {
		this.tid = tid;
	}
	public java.lang.String gettDepatment() {
		return tDepatment;
	}
	public void settDepatment(java.lang.String tDepatment) {
		this.tDepatment = tDepatment;
	}
	public java.lang.String gettImg() {
		return tImg;
	}
	public void settImg(java.lang.String tImg) {
		this.tImg = tImg;
	}
	public java.lang.String gettUrl() {
		return tUrl;
	}
	public void settUrl(java.lang.String tUrl) {
		this.tUrl = tUrl;
	}
	public java.lang.String gettContent() {
		return tContent;
	}
	public void settContent(java.lang.String tContent) {
		this.tContent = tContent;
	}

	
}